home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / System / BoingBag1 / Contributions / InstallerNG / GUI-API / example / igui_ClearError.c < prev    next >
C/C++ Source or Header  |  1999-10-28  |  819b  |  48 lines

  1.  
  2. #include "includes.h"
  3. #include "installergui_data.h"
  4.  
  5. /********************************************************************
  6.  *
  7.  *  DESCRIPTION
  8.  *
  9.  *  clear the stored errorcode from the gui
  10.  *
  11.  *  IN:  application - pointer to the private application structure
  12.  *  OUT: -
  13.  *
  14.  */
  15.  
  16. /********************************************************************
  17.  *
  18.  *  STATIC
  19.  *
  20.  */
  21.  
  22. /********************************************************************
  23.  *
  24.  *  EXTERN
  25.  *
  26.  */
  27.  
  28. /********************************************************************
  29.  *
  30.  *  PUBLIC
  31.  *
  32.  */
  33.  
  34. /********************************************************************
  35.  *
  36.  *  CODE
  37.  *
  38.  */
  39.  
  40. void __asm igui_ClearError(register __a0 APTR application)
  41. {
  42.   #ifdef DEBUG
  43.   DEBUG_MAKRO
  44.   #endif
  45.  
  46.   ((struct Application *) application)->app_Error = GUIERROR_NOERROR;
  47. }
  48.